package com.chixing.day02;

public class UtilTest {
    public static void main(String[] args) {
        int[] arr1 = {10,63,100,88,99,35,20,8};
        SortUtil.bubbleSort(arr1);
        for (int i = 0; i < arr1.length; i++) {
            System.out.println(arr1[i]);
        }

        System.out.println("================================");

        int[] arr2 = {10,63,100,88,99,35,55,96,8};
        if(arr2.length  >= 2) {
            SortUtil.quickSort(arr2, 0, arr2.length - 1);
        }
        for (int i = 0; i < arr2.length; i++) {
            System.out.println(arr2[i]);
        }

    }
}
